﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaterialAdd.aspx.cs" Inherits="Think.Lenovo.Com.MaterialAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <!-- stylesheets -->
    <link href="/Contents/css/skin.css" rel="stylesheet" type="text/css" />
    <script src="/Contents/resources/scripts/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/style.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/style_fixed.css" />
    <link id="Link1" rel="stylesheet" type="text/css" href="/Contents/resources/css/colors/blue.css" />
    <meta http-equiv="Cache-Control" content="no" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/Contents/resources/css/style.css" media="screen" />
    <link id="color" rel="stylesheet" type="text/css" href="/Contents/resources/css/colors/blue.css" />
    <script type="text/javascript" src="/Scripts/lib/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="/Scripts/lib/SerializeObject.js"></script>
    <script type="text/javascript" src="/Scripts/MaterialAdd.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="content" style="background: url(/Contents/resources/images/background.png);">
        <!-- content / right -->
        <div id="right">
            <div class="box">
                <!-- box / title -->
                <div class="title">
                    <h5>
                        添加物料公告</h5>
                </div>
                <div class="form">
                    <div class="fields">
                        <div class="field  field-first">
                            <div class="label">
                                <label for="input-small">
                                    产品标题:</label>
                            </div>
                            <div class="input">
                                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <div class="field">
                            <div class="label">
                                <label for="input-medium">
                                    物料种类:</label>
                            </div>
                            <div class="input1">
                                <div style="float: left;" id="meterialContainer">
                                    <span style="margin-left: 2px; margin-right: 2px" id="meterialClass">
                                        <asp:DropDownList ID="DropDownList1" name="DropDownList1" runat="server">
                                        </asp:DropDownList>
                                        <asp:TextBox ID="count" runat="server" name="count"></asp:TextBox>
                                        <a href="#" onclick="removeItem(this);">-</a><br />
                                    </span>
                                    <br />
                                </div>
                                <br />
                            </div>
                            <div class="field">
                                <span>
                                    <input type="button" value=" + " onclick="addMeterialClass()" /></span>
                            </div>
                            <div class="field">
                                <div class="label">
                                    <label for="input-medium">
                                        选择物料发放区:</label>
                                </div>
                                <div class="input">
                                    <asp:CheckBoxList ID="cbl_region" runat="server" RepeatDirection="Horizontal" DataTextField="nodename"
                                        DataValueField="id" RepeatColumns="3">
                                    </asp:CheckBoxList>
                                </div>
                            </div>
                            <div class="field">
                                <div class="label">
                                    <label for="input-medium">
                                        公告内容:</label>
                                </div>
                                <div>
                                    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Width="100%" Height="350" BasePath="~/editors/fckeditor/"
                                        ToolbarSet="Custom" ToolbarStartExpanded="true">
                                    </FCKeditorV2:FCKeditor>
                                </div>
                            </div>
                            <div class="buttons">
                                <asp:Button ID="Button2" runat="server" Text="发布" OnClick="btn_add_Click" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <%--    <div>
        标题:<asp:TextBox ID="txt_title" runat="server"></asp:TextBox><br />
        <br />
        物料种类:<br />
        <asp:Table ID="HolderTable" runat="server">
        </asp:Table>
        <br />
        <asp:Button ID="Add" runat="server" Text="添加物料" OnClick="Add_Click" />
        <br />
        公告内容:<br />
        选择物料发放区:<asp:CheckBoxList ID="cbl_region" runat="server" RepeatDirection="Horizontal"
            DataTextField="nodename" DataValueField="id">
        </asp:CheckBoxList>
        <br />
        <FCKeditorV2:FCKeditor ID="editor" runat="server" Width="100%" Height="350" BasePath="~/editors/fckeditor/"
            ToolbarSet="Custom" ToolbarStartExpanded="true">
        </FCKeditorV2:FCKeditor>
        <br />
        <asp:Button ID="btn_add" runat="server" Text="发布" OnClick="btn_add_Click" />
    </div>--%>
    </form>
</body>
</html>
